package org.dromara.device.domain.dto;

import lombok.Data;

/**
 * @author zjm
 * @version 1.0
 * @description: 定义设备状态查询结果返回对象
 * @date 2024/11/23 9:03
 */

@Data
public class DeviceStatus {
    // 查询的设备ip
    private String deviceIp;
    // 设备状态
    private int status;
    // 状态描述
    private String msg;
    // 设备在线时返回详细信息
    private Object data;

    public DeviceStatus(String deviceIp,int status, String msg,Object data) {
        this.deviceIp = deviceIp;
        this.status = status;
        this.msg = msg;
        this.data = data;
    }
}
